epub | eng | 2013-03-11 | Author: Jessica McKellar & Abe Fettig
$ twistd -n echo --auth memory:user:pass:foo:bar 2012-12-01 14:04:11-0500 [-] Log opened. 2012-12-01 14:04:11-0500 [-] twistd 12.1.0 (/usr/bin/python 2.7.1) ... 2012-12-01 14:04:11-0500 [-] reactor class: twisted.internet.select... 2012-12-22 14:07:26-0500 [-] EchoFactory starting ...
Python Programming
epub, pdf | eng | 2013-03-25 | Author: Matt Richardson & Shawn Wallace [Richardson, Matt and Wallace, Shawn]
Chapter 6. Arduino and the Pi As you’ll see in the next few chapters, you can use the GPIO pins on the Raspberry Pi to connect to sensors or things ...
epub, pdf | eng | 2011-10-23 | Author: Mitch Garnaat [Mitch Garnaat]
This will return a list of all of the available CloudWatch metrics. Each will be represented by a Metric object. The contents of this list will vary for each user, ...
epub, mobi, pdf | eng | 2012-08-08 | Author: Allen B. Downey [Allen B. Downey]
Random Words To choose a random word from the histogram, the simplest algorithm is to build a list with multiple copies of each word, according to the observed frequency, and ...
epub, mobi, pdf | eng | 2012-11-17 | Author: Jason R. Briggs [Jason R. Briggs]
When you select a color and click OK, a tuple will be displayed. This tuple contains another tuple with three numbers and a string: >>> colorchooser.askcolor() ((235.91796875, 86.3359375, 153.59765625), '#eb5699') ...
epub | eng | 2013-08-20 | Author: Summerfield, Mark [Summerfield, Mark]
* * * def get_jobs(source, target): for name in os.listdir(source): yield os.path.join(source, name), os.path.join(target, name) * * * This function performs the same service as the previous subsection’s add_jobs() function, ...
epub, mobi, pdf | eng | 2012-10-07 | Author: Wes McKinney [Wes McKinney]
Example: Group Weighted Average and Correlation Under the split-apply-combine paradigm of groupby, operations between columns in a DataFrame or two Series, such a group weighted average, become a routine affair. ...
epub | eng | | Author: Learning IPython for Interactive Computing & Data Visualization
More indexing possibilities More generally, indexing allows us to take any portion of an array. We saw in the previous section how to filter an array with a Boolean condition. ...
mobi, epub, pdf | eng | 2009-09-15 | Author: Mark Lutz
C:\test> C:\python30\python >>> import pkg.spam ...text omitted... ImportError: cannot import name string Modules referenced by relative imports must exist in the package directory. Imports are still relative to the CWD ...
mobi, epub | eng | 2013-01-16 | Author: Daniel Greenfeld & Audrey Roy
* * * A better way of writing the above snippet is to use indentation and one operation per line to create a readable, maintainable template: * * * Example ...